package com.antler.smt.admin.mapper;

import com.antler.smt.response.admin.GetPurchaserListResp;
import com.antler.smt.response.admin.GetPurchaserVipInfoListResp;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 采购商Mapper
 *
 * @author zhangyi
 * @date  2018-03-29 15:31
 */
@Repository
public interface PurchaserInfoMapper {

  /**
   * 获取所有采购商列表
   *
   * @return
   */
  Page<GetPurchaserListResp> getAllPurchaserList();

  /**
   * 根据认证状态获取其采购商列表
   *
   * @param auditResult
   * @return
   */
  Page<GetPurchaserListResp> getPurchaserAuditResultList(@Param("auditResult") Integer auditResult);

  /**
   *  采购商列表
   *
   * @param status
   * @return
   */
  Page<GetPurchaserVipInfoListResp> getPurchaserInfoList(List status);
}
